package com.ls.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ls.entity.UserLoginDTO;
import com.ls.mapper.UserMapper;
import com.ls.pojo.User;
import com.ls.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author xiaoruan
 * @since 2023-04-24
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Resource
   private UserMapper userMapper;

    @Override
    public User login(UserLoginDTO userLoginDTO) {
        return userMapper.login(userLoginDTO);
    }
}
